module.exports = {
  lintOnSave: false,
  publicPath: '/iSee',
  // 输出文件目录
  outputDir: 'iSee',
  devServer: {
    host: '0.0.0.0',
    port: 8081,
    proxy: {
     // 设置代理
     // proxy all requests starting with /api to jsonplaceholder
     '/api': {
         target: 'http://127.0.0.1:8080', //真实请求的目标地址
         changeOrigin: true,
         pathRewrite: {
             '^/api': ''
         }
     },
        '/images':{
         target:'http://47.94.165.133/images/',
            changeOrigin: true,
            pathRewrite:{
             '^/images':''
}
        }
    },

  },
}
